package com.product.system.mapper;

import com.product.system.domain.MenuBarChart;
import com.product.system.domain.SysMenu;
import com.product.system.domain.response.SysShowForm;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysMenuMapper {
    List<SysMenu> selectMenu();

    List<SysMenu> selectMenu1(SysMenu menu);

    Boolean addMenu(SysMenu menu);

    Boolean deleteMenuById(Long menuId);


    Boolean updateMenu(SysMenu menu);

    SysMenu treeselect(Integer menuId);

    List<SysMenu> selectMenu3();

    List<MenuBarChart> showMenu();
}
